package com.dingreading.cloud.admin.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 实体类。
 *
 * @author EDY
 * @since 2025-10-24
 */
@Data
@Table("subject_lesson_log")
public class SubjectLessonLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id(keyType = KeyType.Auto)
    private Long id;

    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;

    private String corpUid;

    private String storeUid;

    private String staffUid;

    private String staffName;

    private String ip;

    private String lessonUid;

    private String videoUid;

    private Integer type;

    /**
     * ID，主键自增
     */
    private Long subjectsId;

    /**
     * 文件类型 0.助教文案 1.阅读指南 2.资料下载 3.新书预告
     */
    private Integer fileType;

    /**
     * 文件id
     */
    private Long fileId;

}
